package com.mdinfo.gw.door.param

import javax.validation.constraints.NotNull

/**
 * Created by Administrator on 2018/1/15.
 */
class DoorCardAddParam{

    @NotNull(message = "不能为空")
    var devId:String? = null

    @NotNull(message = "不能为空")
    var deptId:Int? = null
}

class DoorCardListQueryParam{

    @NotNull(message = "不能为空")
    var start:Int? = null

    @NotNull(message = "不能为空")
    var num:Int? = null

    var key:String? = null

    var deptId:Int? = null
}

class DoorCardModifyParam{

    @NotNull(message = "不能为空")
    var cardId:Int? = null

    @NotNull(message = "不能为空")
    var devId:String? = null

    @NotNull(message = "不能为空")
    var deptId:Int? = null
}

class DoorCardBindEmpParam{

    @NotNull(message = "不能为空")
    var cardId:Int? = null

    @NotNull(message = "不能为空")
    var empId:Int? = null
}

class DoorCardUnBindEmpParam{
    @NotNull(message = "不能为空")
    var cardId:Int? = null
}

class DoorCardBindDoorParam{

    @NotNull(message = "不能为空")
    var cardId:Int? = null

    var doorIdList = ArrayList<Int>()

    var expireTime:String? = null

    var timePicker = ArrayList<String>()

    var weekday = ArrayList<Int>()
}

class DoorCardUnBindDoorParam{

    @NotNull(message = "不能为空")
    var bindId:Int? = null
}

class DoorCardToDelParam{
    @NotNull(message = "不能为空")
    var cardId:Int? = null
}

class DoorCardBatchBindParam{

    var cardIdList = ArrayList<Int>()

    var doorIdList = ArrayList<Int>()

    var expireTime:String? = null

    var timePicker = ArrayList<String>()

    var weekday = ArrayList<Int>()
}

class DoorCardListBindTableParam{
    @NotNull(message = "不能为空")
    var start:Int? = null

    @NotNull(message = "不能为空")
    var num:Int? = null
}

class DoorCardBatchUnBindParam{
    var toDelId = ArrayList<Int>()
}

class DoorCardListByDoorIdParam{
    @NotNull(message = "不能为空")
    var start:Int? = null

    @NotNull(message = "不能为空")
    var num:Int? = null

    @NotNull(message = "不能为空")
    var doorId:Int? = null
}

class DoorCardListByTimeIdParam{
    @NotNull(message = "不能为空")
    var start:Int? = null

    @NotNull(message = "不能为空")
    var num:Int? = null

    @NotNull(message = "不能为空")
    var timeId:Int? = null
}

